import service from "@/server";
import type {SearchPro} from "@/myTypes"

// /pro/searchPro

// 1.搜索拿数据
export const getsearchProApi = (data:SearchPro) => service.post("/pro/searchPro",data)


// /pro/getCategory
// 2.分类数据
export const getCategoryApi = () => service.get("/pro/getCategory")

